package com.xuecheng.api.content;

import com.xuecheng.api.content.model.dto.TeachplanMediaDTO;
import com.xuecheng.common.domain.response.RestResponse;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author 黄子弟
 * @Date 2021/12/15
 */

@Api(value = "课程计划和媒资关联api" ,tags = "课程计划和媒资关联api接口")
public interface TeachplanMediaControllerApi {

    @ApiOperation("根据媒资id查询是否管理课程计划")
    @ApiImplicitParam(name = "mediaId",value = "媒资id",required = true,dataType = "Long",paramType = "path")
    RestResponse<TeachplanMediaDTO> getById(@PathVariable Long mediaId);
}
